package io.renren.modules.hospital.dao;

import io.renren.modules.hospital.entity.EmrBlInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author starry
 * @email 2495646304@qq.com
 * @date 2024-01-29 17:53:46
 */
@Mapper
public interface EmrBlInfoDao extends BaseMapper<EmrBlInfoEntity> {


    /**
     * 根据患者id查找病历
     * @param hzId 患者编号
     * @return 病历实体
     */
    public EmrBlInfoEntity getBlByHzId(Integer hzId);

    /**
     * 病历列表
     */
    public List<EmrBlInfoEntity> findBlList();


    /**
     * 更新病历时间
     */
    Boolean updateTime(Integer blId,String time);
}
